package com.ruoyi.kenuo.enums;


import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;

import java.util.Arrays;

@Getter
@AllArgsConstructor
@NoArgsConstructor
public enum ConstantEnum {

    YES("yes",1),NO("no",2);


    private String mes;

    private Integer code;

    public static void main(String[] args) {
        System.out.println(ConstantEnum.YES.mes);

    }
}
